<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/head" ></head>
<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
<!--<![endif]-->


<div th:include="/menu" ></div>


<div class="content">

    <div class="header">
        <h1 class="page-title">用户列表</h1>
    </div>
    <div style="margin-left: 10px">
        <div class="btn-toolbar">
            <div class="btn-group">
            </div>
        </div>
        <div class="well">
            <table class="table">
                <thead>
                <tr>
                    <th>编号</th>
                    <th>手机号码</th>
                    <th>状态</th>
                    <th>昵称</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr th:each="list:${list}" >
                    <td th:text="${list.id}" ></td>
                    <td th:text="${list.mobilephone}" ></td>
                    <td th:if="${list.status==0}" >正常</td>
                    <td th:if="${list.status==1}" >禁用</td>
                    <td th:text="${list.nickName}" ></td>
                    <td>
                        <a href="user.html">[删除]</a>
                        <a th:href="@{'toEdit?userId='+${list.id}}">[修改]</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="pagination">
            <ul>
                <li><a href="#">上一页</a></li>
                <li><a href="#">1/<span th:text="${totalPage}"></span></a></li>
                <li><a href="#">下一页</a></li>
            </ul>
        </div>
    </div>



    <footer>
        <!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
        <p class="pull-right">A <a href="http://www.portnine.com/bootstrap-themes" target="_blank">Free Bootstrap Theme</a> by <a href="http://www.mycodes.net/" title="源码之家" target="_blank">源码之家</a></p>

        <p>&copy; 2012 <a href="http://www.mycodes.net/" title="源码之家" target="_blank">源码之家</a></p>
    </footer>

</div>
</div>
</div>



<script th:src="@{/lib/bootstrap/js/bootstrap.js}"></script>
<script type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function() {
        $('.demo-cancel-click').click(function(){return false;});
    });
</script>

</body>
</html>


